<?php


class Response
{
   static public function json($code=0,$message='',$data=[])
    {
        $res=[
            'code'=>$code,
        'message'=>$message,
        'data'=>$data
        ];
        exit(json_encode($res,JSON_UNESCAPED_UNICODE));
    }
}